package ipc

type _IPC struct {
	GatewayChannel chan GatewayMessage
}

var IPC *_IPC

func init() {
	IPC = new(_IPC)
	IPC.GatewayChannel = make(chan GatewayMessage)
}

func PushGatewayMessage(msg GatewayMessage) {
	IPC.GatewayChannel <- msg
}
